using Boo.Lang;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using UnityEngine;

[Serializable]
public class MarchingCubesManager : MonoBehaviour
{
	[Serializable]
	[CompilerGenerated]
	internal sealed class _0024SetColors_0024405 : GenericGenerator<object>
	{
		internal MarchingCubesManager _0024self__0024410;

		public _0024SetColors_0024405(MarchingCubesManager self_)
		{
			_0024self__0024410 = self_;
		}

		public override IEnumerator<object> GetEnumerator()
		{
			return new _0024(_0024self__0024410);
		}
	}

	public Color[] colors;

	public MarchingCube[] cubes;

	public float startLag;

	public float rate;

	public MarchingCubesManager()
	{
		startLag = 1f;
		rate = 6f;
	}

	public void Start()
	{
		InvokeRepeating("RandomizeColors", startLag, rate);
	}

	public void RandomizeColors()
	{
		if (gameObject.active)
		{
			StartCoroutine("SetColors");
		}
	}

	public IEnumerator SetColors()
	{
		return new _0024SetColors_0024405(this).GetEnumerator();
	}

	public void Main()
	{
	}
}
